<?php #coding: utf-8 æ ø å 



	//$data['find_ikke'] = $steder_ider;
	//$data['type'] = $this->uri->segment(4); 
	$data['stam_id'] = $this->uri->segment(3);
	//$data['redirect_soegning'] = base_url()."core/vis/se/".$type."/".$data['stam_id']."/rediger_steder";
	//$data['redirect_tilfoej'] = base_url()."core/rediger/tilfoej_begivenhed_sted/";
    $data['omraade'] = "sted";


    //$this->load->view('soeg/soeg_generel', $data);

//print_r($navne);


echo "<div class='row-fluid'>";
	echo "<div class='span6'>";
    echo "<h2 class='rubrik'>Søg efter nye steder</h2>";
    //$this->load->view('soeg/soeg_generel', $data);
    ?>
	<form action="<? echo base_url();?>core/rediger/tilfoej_begivenhed_sted" method="post">    
            <input type="text" id="soegning" value="Søg" /> <img id="soeg_over" src="<? echo base_url(); ?>img/lup.png" />
	<input type="hidden" id="overtype" value="sted">
    <input type="hidden" name="stam_id" value="<? echo $stamdata['id']; ?>">



	<input type="hidden" name="sted_array" id="array_holder" value="">

		<p class="ink" id="resultater-over" style="font-weight:bold;">
		
		
		</p>
		
		<input type="submit" value="Tilføj">
	</form>


	
	
		<br><br><br>

	</div>
	<div class="span6" id='fjern-holder'>
			<div style="overflow:auto;">
    <form action="<?php echo base_url();?>core/rediger/slet_historie" method="post"><?
    ?>
    <input type="hidden" name="stam_id" value="<? echo $id; ?>">

    <input style="float:right" type="submit" class="rubrik" value="Fjern Oplevelser">
    <h2 class="rubrik">Hvad <? echo $navne[0]; ?> har oplevet</h2><br>

    <?

        echo "<div style='float:left;'>";
            echo "<h3 class='rubrik'></h3>";
            echo "<p>";
                foreach($element_data['begivenhed']['steder'] as $o)
            {
	
	                ?><input type="checkbox" value="<? echo $o['id'];?>">
<?                  echo "<b class='ink'>".$o['navn']."</b>"; 
                    echo "<br>";
                  
		           // $id_array[] = $o['id']; 
            }
 
	//if(isset($id_array)) {$id_array = $this->array_model->post_ider_send($id_array);
	?><input type="text" id="fjern-deltagere-array" name="id_array" value=""><?
 //   }
            echo "</p>";
        echo "</div>";


?>
		</div>
	</div>
</div>
